<?
if(isset($_SESSION)){
    session_start();
}	

if(isset($_SESSION["logged"]) && $_SESSION["logged"] == 1){
	$_SESSION["logged"] = "0";
	unset($_SESSION["logged"]);
}
if(isset($_SESSION["user_id"]))	unset($_SESSION["user_id"]);
if(isset($_SESSION["userlogin"]))unset($_SESSION["userlogin"]);
?>
<script language="javascript">
	parent.location.href = "login.php";
</script>
